package com.itcv.mybatis.demo.reflect;

import java.lang.reflect.Method;

public class MethodInvoker {

    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        if(method.getName().equals("say")){
            return "hello "+args[0];
        }
        return "";
      //  return mapperMethod.execute(sqlSession, args);
    }
}
